Analog to digital converter using parallel folder and decoder circuits

ABSTRACT

An analog to digital converter includes first and second folder circuits that map an analog input voltage into first and second folder output voltages, using two different voltage transfer functions. First and second flash circuits generate first and second digital representations of the first and second folder output voltages. An MSB conversion circuit generates a set of most significant bits representative of the analog input voltage input, and a multiplexer selects one of the first and second digital representations in accordance with the least significant bit of the output from the MSB conversion circuit. The analog to digital converter further includes first and second decoder circuits for decoding the first and second digital representations from the two flash circuits, and the multiplexer selects one of the two decoded digital values. The selected decoded value represents the least significant bits of a digital representation of the analog input value.

The present invention relates generally to analog to digital voltageconverter circuits, and particularly to very high speed analog todigital converters for use in medical imaging systems and otherapplications that require data conversion rates of 10 Megahertz orfaster and data conversions with 10-bits or more resolution.

CROSS REFERENCE TO RELATED APPLICATIONS

The present application is related to U.S. patent application Ser. Nos.07/972,763, 07/972,829, 07/972,759, 07/972,753, and 07/972,746, allfiled on Nov. 6, 1992 in the name of Philip W. Yee and assigned toNational Semiconductor Corporation.

BACKGROUND OF THE INVENTION

The increased usage of analog to digital converters (ADC's) within avariety of applications has provided an impetus for the development ofinexpensive ADC's capable of relatively high-performance. Conventional"single conversion cycle flash" ADC's (also called "full-flash" ADC's)have generally been found to offer insufficient performance, and areoften too costly for use in inexpensive consumer products. Inparticular, conventional flash converters include an array of 2^(N) -1comparators for comparing an analog input signal to a number ofthreshold reference voltages, where N is the number of output bits inthe digital value generated by the ADC. The comparators are assumed toprovide a logical ONE when the output of a comparator exceeds itsthreshold, and a logical ZERO otherwise. An array of latches determinesthe logical state of the comparators during each clock cycle and holdsthis information until sampling during the succeeding cycle. The outputsof each latch are then encoded into an output code. Among thedisadvantages of the full-flash implementation are high powerconsumption, large chip area, as well as the requirements for numerouscomponents and interconnection lines.

Two-conversion cycle flash ADCs and multiple-conversion cycle flash ADCsreduce the number of comparators needed by generating a subset of theoutput bits during each conversion cycle, but sacrifice speed. Suchdevices, with a typical conversion rate of one input sample permicrosecond, are much too slow for medical imaging systems and otherapplications that require data conversion rates of 10 Megahertz orfaster.

One method of decreasing the number of components required within anADC, without requiring multiple conversion cycles, is effected through atechnique commonly known as "folding". This technique reduces the sizeof the flash array necessary to implement a converter of a givenprecision by using the flash array (i.e., comparison circuits) in a moreefficient manner. Specifically, in ADC's based on a folding architecturean analog processing circuit, a first flash array and decoder generatethe most significant bits (MSBS) of the output value, while a "foldercircuit" precedes a second flash array. The folder circuit effectively"subtracts" from the input signal the amount of voltage represented bythe MSBs, leaving a remainder voltage that precisely corresponds to theleast significant bits (LSBs of the output value. 1 LSB is defined asthe voltage step associated with the least significant bit of the ADCconversion value. In a 10-bit ADC, having an input voltage range of 2volts, 1 LSB is 1.953125 millivolts.

Referring to FIG. 1 A, there is shown a block diagram of a conventional10-Bit folding analog to digital converter 100 incorporating a 5-Bitfolder circuit 102. During each sampling period an analog input signalis sampled by an input sample and hold circuit 105 and applied to the5-bit folder circuit 102 and to a conventional 5-bit MSB flash array106. FIG. 1B shows the ideal transfer function of the 5-bit foldercircuit 102. The magnitude of the analog output of the folder circuit102 is indicative of the value of the five least significant bits of thesampled analog input. That is, the folder circuit output corresponds toa residual portion of the sampled analog input in excess of the voltagemagnitude equivalent to the first five MSB's of the sampled analoginput.

A digital code corresponding to the five MSB's of the analog input isproduced by the 5-bit MSB flash array 106 in conjunction with an MSBdecoder 108 that generates the actual five MSB's. The MSB flash array106 compares the sampled input voltage with a first set of thirty-onereference voltages (which are spaced at 32 LSB intervals) from a voltagereference ladder 104, producing a 32-level "thermometer" code. The MSBdecoder 108 converts that 32-level "thermometer" code into a 5-bitvalue.

Similarly, a second 32-level "thermometer" code is generated by a 5-bitLSB flash circuit 110, by comparing the output of the folder circuit 102with a second set of thirty-one reference voltages (which are spaced at1 LSB intervals) from a voltage reference ladder 104. The secondthermometer code is transformed into a binary code by an LSB decoder 112to yield the five LSBs of the analog input.

It should be noted that the reference voltages used in typical MSB andLSB flash arrays are offset by -0.5 LSB from their nominal values. Thereason for the half LSB offset is that the standard specification forADC circuits is that the digital output value should shift from onevalue to the next when the input voltage passes the halfway pointbetween the two. For instance, the digital output value of the ADCswitches from 0 to 1 when the input voltage Vin rises above 0.5 LSB.

As can be seen from the voltage transfer function shown in FIG. 1B, whenthe output voltage of the folder circuit 102 is on a positively slopedportion of its transfer function, the LSB decoder must generate adigital value that increases as the folder circuit output voltageincreases. However, when the output voltage of the folder circuit is ona negatively sloped portion of its transfer function, the LSB decodermust generate a digital value that increases as the folder circuitoutput voltage decreases. Thus, the five LSBs to be generated by the ADCmay be uniquely determined by the LSB decoder 112 only after it is knownwhether the output of the folder circuit 102 was based upon one of thepositively-sloped or upon one of the negatively-sloped portions of thefolder transfer characteristic. This information is inherent within thevalue of the lowest MSB, and is provided to the LSB decoder 112 by theMSB decoder 108. The requirement that the LSB decoder 112 be providedwith information f rom the MSB decoder 108 tends to reduce theefficiency of the ADC 100, since the LSB decoder 112 is idle pendingcompletion of the MSB flash operation.

It is noted that in MOS implementations of sample and hold circuits theanalog input is applied to the source terminal of an input samplingtransistor, and is allowed to pass therethrough during each clock cycle.The magnitude of the sampled analog signal is stored by a capacitorconnected to the output (drain) terminal of the sampling transistor.This type of sample and hold circuit may be modeled as an RC circuit,where R is primarily determined by the channel resistance of the inputtransistor and where C corresponds to the capacitance value of the"holding" capacitor. Since the bias applied to the gate of the samplingtransistor is a constant and the value of R depends on the gate tosource voltage of the sampling transistor, the value of R varies as afunction of the magnitude of the input voltage. Hence, harmonicdistortion is introduced into the sampled input signal as a consequenceof variation in the RC time constant of the sample and hold circuit.

The performance of the analog to digital converter 100 depends largelyupon:

(1) the degree to which the folding function depicted in FIG. 1B may beaccurately implemented by the folder circuit 102,

(2) accurate or consistent sampling of the input signal,

(3) the precision of the reference voltages provided by the referenceladder 104, and

(4) the speed of the folder circuit 102.

Each of these factors, other than the consistent sampling factor whichwas discussed above, are discussed next with reference to the diagram ofa conventional folding circuit 102 shown in FIG. 2. Note that it isassumed in this circuit that the analog input voltage range is -2 voltsto 0 volts.

Conventional folding circuits have been shown to introduce distortioninto the ideal transfer characteristic of FIG. 1 B. Referring to FIG. 2,the accuracy of the gain of the folder circuit 102 is dependent upon theratio of the pull-up resistors R1, R2 and R3 (which ideally should allbe precisely equal) to the current drawn by current sources 1. However,the gain may be affected by contributions from the base currents oftransistors T1-T4. Thus, non-uniformities in the current sources andpull-up resistors and base currents in the folder circuit's transistorsall contribute to deviation in the gain of the folder circuit 102 from aspecified ideal absolute value.

As is indicated by FIG. 1B, the folding circuit 102 is characterized bya piece-wise linear transfer characteristic. Such linearity has provendifficult to achieve in practice, however, due to the hyperbolic tangenttransfer characteristic of the differential transistor pairs T1-T2,T3-T4, only two of which are shown in FIG. 2. Efforts directed toimproving the linearity of these differential pairs have involvedconnecting resistors to the emitter of the transistors within eachdifferential pair. While this has led to improved linearity, it has alsotended to reduce circuit gain and requires the matching of an additionalpair of resistors.

Referring to FIG. 1B and to FIG. 2, when the sampled analog input isnear the m^(th) multiple of the reference voltage V_(R) the current fromcurrent source I1 is split primarily between transistors TRm andTR(m+1). This results in a reduction of the base-emitter voltage dropthrough these transistors relative to the case in which current flow ispredominantly through only one of the transistors TR. It follows thatthe actual output voltage of the folder circuit 102 tends to be higherthan desired in response to analog inputs which are proximate multiplesof the reference voltage V_(R). The non-linearity introduced into thetransfer characteristic of the folder 102 as a consequence of thiseffect is depicted in FIG. 3, in which the folder output voltage at roomtemperature is shown to be offset by approximately 18mV from the desiredoutput voltage for analog inputs near multiples of the reference voltageV_(R).

As may also be appreciated with reference to FIG. 3, the voltage at nodeN2 of the folder circuit 102 (FIG. 2) varies between VN2,max and VN2,minas a function of the sampled analog input. Referring to FIG. 2, the peakoutput voltage of the folder circuit 102 is one base-emitter threshold(VBE) below the maximum voltages impressed upon the nodes N1, N2, . . .Nn. The maximum voltage at the nodes N1, N2, . . . , Nn occurs foranalog inputs having magnitudes midway between adjacent referencevoltages and cannot exceed-Vupper, where Vupper is the voltage dropacross resistors R1, R2, . . . Rn, when the current drawn through eachsuch resistor is at its minimum level.

With reference to FIG. 2, the speed of the conventional folder 102 canbe degraded by saturation effects precipitated by relatively largeanalog input voltages. In particular, when the analog signal applied tothe input transistor of a differential pair becomes large compared withthe associated reference voltage the input transistor tends to be driveninto saturation, i.e., the collector voltage exceeds the saturationthreshold. Saturation of the input transistors within a differentialpair reduces the rate at which the associated folder stage is capable ofresponding to changes in the sampled analog input.

Efforts have also been made to enhance the precision of the referencevoltages supplied to the flash arrays and folder circuits includedwithin high-speed ADC's. For example, ADC's designed to be incorporatedwithin high-speed video processing systems often include low-impedancevoltage reference ladders for providing a set of reference voltages.Referring to the conventional reference ladder shown in FIG. 4, aresistive diffusion or metallic interconnection line R_(D) isoperatively connected to positive (+V1) and negative (-V2) forcevoltages supplied by a force and sense circuit. The force and sensecircuit is employed to set the voltage at sense terminals S1 and S2 ateither end of the resistive line R_(D) to the reference potentialsMinV_(R) and MaxV_(R). Specifically, the force and sense circuitincludes a feedback network which adjusts the magnitude of +V1 and -V2so that MinV_(R) and MaxV_(R) are applied to the resistive line R_(D)despite the presence of parasitic interconnection resistance Rp. In thisway the magnitude of the reference potentials are made to be relativelyindependent of the magnitude of Rp. Since the resistive line RD isassumed to be of uniform width, the tap points corresponding to eachreference potential may be determined through linear interpolation.

In many analog to digital converters the reference potentials MinV_(R)and MaxV_(R) correspond to the zero and full-scale values used duringthe conversion process. Nonetheless, certain high-speed ADC's includefolding circuits which require internal voltage references whichare-several LSBs beyond these zero and full-scale values. Simplyincreasing the dynamic range between the zero and full-scale values toinclude these additional reference voltages has been considered, butwould lead to unusual values for the zero and full-scale references.This would, in turn, complicate the interpolation process used to selectthe tap points corresponding to the remaining reference values.

Referring to FIG. 5, the actual relationship between the locations oftap points along the resistive line RD and the corresponding referencevoltages (solid line) is seen to be nonlinear when current is drawn fromthe tap points, such as to provide the base current of NPNs in the ADC'sfolder circuits and in the ADC's flash arrays. The resulting errorbetween the ideal linear interpolation characteristic (dashed line) andthat actually obtained can lead to significant error in the referencevoltages derived from tap points proximate the center of the resistiveline RD.

Because operation of the folder circuit 102 is predicated upon theabsolute gain and linearity of its constituent circuit elements, itsoutput is relatively sensitive to variation in temperature. Accordingly,it has generally been necessary to develop performance specificationsbased on limited temperature ranges.

SUMMARY OF THE INVENTION

In summary, the present invention is an analog to digital converterhaving first and second folder circuits that maps an analog inputvoltage into first and second folder output voltages, using twodifferent voltage transfer functions. First and second flash circuitsgenerate first and second digital representations of the first andsecond folder output voltages. An MSB conversion circuit generates a setof most significant bits representative of the analog input voltageinput, and a multiplexer selects one of the first and second digitalrepresentations in accordance with the least significant bit of theoutput from the MSB conversion circuit.

The analog to digital converter further includes first and seconddecoder circuits for decoding the first and second digitalrepresentations from the two flash circuits, and the multiplexer selectsone of the two decoded digital values. The selected decoded valuerepresents the least significant bits of a digital representation of theanalog input value.

BRIEF DESCRIPTION OF THE DRAWINGS

Additional objects and features of the invention will be more readilyapparent from the following detailed description and appended claimswhen taken in conjunction the drawings, in which:

FIG. 1A is a block diagram of conventional analog to digital converterusing a folder circuit to reduce the size of the flash arrays needed.

FIG. 1B graphically illustrates the ideal voltage transfer function of aconventional folder circuit.

FIG. 2 circuit diagram of a conventional folder circuit.

FIG. 3 represents the transfer function and voltage characteristics ofthe convention folder circuit of FIG. 2.

FIG. 4 is a circuit diagram of a resistor ladder, in conjunction with aconventional external force and sense circuit, for generating referencevoltages.

FIG. 5 is a graph depicting the actual and ideal relationships betweenthe locations of tap points along a resistive line and the correspondingreference voltages derived therefrom.

FIG. 6 is a circuit diagram of a preferred folder circuit in accordancewith the present invention.

FIG. 7 is a circuit diagram of a current injection circuit for use inconjunction with the folder circuit of FIG. 6.

FIG. 8 is a circuit diagram of a simplified 2-bit implementation of asample and hold voltage receiver in accordance with the presentinvention.

FIGS. 9B and 9C are circuit diagrams of a preferred embodiment of theinventive analog sample and hold voltage receiver.

FIG. 10A, 10B and 10C are circuit diagrams of 4-bit folder circuits usedin conjunction with the sample and hold voltage receivers of FIGS.9A-9C.

FIG. 11 is a block diagram of a conventional four-bit analog to digitalconverter using a folder circuit.

FIG. 12 represents the ideal and actual voltage transfer characteristicsof the folder circuit depicted in FIG. 11.

FIG. 13 is a block diagram of an improved four-bit analog to digitalconverter using reference folder circuits to provide reference voltagesto a flash array.

FIG. 14 is a circuit diagram of a reference folder circuit used in apreferred embodiment of the present invention.

FIG. 15A block diagram of the LSB conversion circuitry, incorporatingfifteen reference folders in a preferred 10-bit ADC embodiment of thepresent invention.

FIGS. 15B and 15C are circuit diagrams of the reference folders used inthe preferred 10-bit ADC.

FIG. 16 is a circuit diagram of a resistor ladder 500 for generatingreference voltages, and an external force and sense circuit 502 used ina preferred embodiment of the present invention.

FIG. 17 is a graph depicting the actual and ideal reference voltagesderived from a voltage reference ladder of the present invention.

FIG. 18 is a block diagram of a prior art analog to digital converterusing a pair of staggered folder circuits.

FIG. 19 is a block diagram of an analog to digital converter whichincorporates parallel flash circuits and decoders in accordance with thepresent invention.

FIG. 20 is a block diagram of an analog to digital converter whichincorporates parallel flash circuits and decoders, as well as a modifiedMSB decoder in accordance with the present invention.

FIG. 21 is a simplified representation of the differential outputvoltages from two staggered folder circuits.

FIG. 22 is a circuit diagram of an LSB decoder.

FIG. 23 is block and circuit diagram of the portions of the modified MSBdecoder of the present invention that generates all but the lowest MSBof the ADC's generated output code.

FIG. 24 is a circuit diagram of a portion the MSB decoder that generatesthe lowest MSB of the ADC generated output code.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Again referring to FIG. 1A, the conventional ADC 100 is of the type thatuses folder circuits to reduce the size of the flash arrays needed. Aspecific implementation of the ADC 100 is described as follows in orderto facilitate appreciation of the features offered by the improvedfolder circuit of the present invention. Specifically, it will beassumed that the ADC 100 is a 10-bit converter, although this basiccircuit organization could be used for other converters, such as an8-bit ADC. In a 10-bit converter, the input voltage range can bemeasured in units of "LSBs", where 1 LSB is the voltage differenceassociated with a change of 1 in the digital output value. Thus theinput voltage range is 1024 LSBs for a 10-bit ADC, or 256 LSBs for an8-bit ADC. The analog to digital conversion process is initiated when aninput signals is received by a sample and hold circuit 102. To generatethe five most significant bits, thirty-one comparators are used tocompare the input voltage with thirty-one reference voltages, VR,ranging from 32 LSB to 992 LSB, in steps of 32 LSB.

IMPROVED FOLDER CIRCUIT

FIG. 6 is a circuit diagram of a preferred folder circuit 150 inaccordance with the present invention. In the specific implementation ofthe FIG. 6 the folder 150 is a 4-bit folder circuit designed to beincorporated within a somewhat different 10-bit ADC than the one shownin FIG. 1A. The folder circuit 150 provides a transfer function havingfolding points at reference voltages having magnitudes equivalent to16LSB, 80 LSB, . . . 976 LSB (not shown). As shown in FIG. 6, an analoginput is applied to a first transistor Q1 of a first input differentialstage. The first input differential stage further includes a secondtransistor Q2 to which is applied a first reference voltage of amagnitude equivalent to 16LSB. This magnitude corresponds to the firstfolding point of the folding transfer function characterizing the foldercircuit 150. In like manner the analog input and a second referencevoltage (80LSB) are applied to third and fourth transistors Q3 and Q4 ofa second input differential stage. A plurality of current sources Iconnected to a negative power supply rail (- 5V) draw identicalquiescent currents through each input differential stage. In addition, acurrent source I1 fixes the current through transistors QR1A, QR1B,QR2A, . . .

As shown in FIG. 6, a first resistive network including resistors R1Aand R1B is connected to a first differential output node N1 of the firstdifferential stage. Similarly, a second resistive network includingtransistors R2A and R2B is connected a second differential output nodeN2 of the first differential stage, wherein the node N2 also constitutesa first output node of the second differential stage. The magnitude ofthe current sources coupled to each differential stage are selected inconjunction with the equivalent resistance (R_(EQ)) of each resistivenetwork in accordance with the desired minimum output voltage of thefolder 150. That is, the output voltage provided by the folder is at aminimum, i.e., at approximately -IR_(EQ) /2, when the analog input isequal to one of the reference voltages. For example, for an analog inputequivalent to 16LSB's an equal current of 1/2 is conducted by thetransistors Q1 and Q2. Since this input is not large enough to turn ontransistor Q3, a current I will be conducted by transistor Q4. Itfollows that equal currents of 1/2 will flow through the first andsecond resistive networks into the transistors Q1 and Q2, and hence thatthe output voltage of the folder 150 will be approximately one bipolartransistor turn-on voltage below -IR_(EQ) /2.

As will now be described with reference to FIGS. 6 and 7, a currentinjection circuit 270 is operative to increase the maximum folder outputvoltage. Note that the folder output is at its maximum when the analoginput voltage is equally offset from successive reference voltages. Forexample, for an analog input voltage of 48 LSB (i..e., half-way betweenthe 16LSB and 80LSB reference voltages) the current through the firstand second input differential stages will be predominantly throughtransistors Q1 and Q4. Under this condition the current through thesecond resistive network into node N2 is at a minimum (Imin), whichcauses the folder output voltage to rise to approximately one bipolarturn-on voltage less than Imin×R_(EQ). Accordingly, elimination of thecurrent Imin would allow the maximum value of the folder output voltageto rise to the value of the upper power supply (0V) minus one bipolarturn-on voltage.

Referring to FIG. 7, the current injection circuit 160 is operative tocontinuously inject a current of magnitude Imin into each of the nodesN1, N2, N3, . . . NM, where M=16. Again considering the case of anapplied analog input voltage midway between the first and secondreference voltages, i.e.,48 LSB, the inputs to the first differentialstage (48 LSB and 16LSB) are separated by 32 LSB. Similarly, the inputsto the second differential stage (48 LSB and 80LSB) are separated by 32LSB. Equal currents of Imin/2 will thus be conducted by transistors Q2and Q3 such that Imin is pulled through the second resistive network.

Referring to FIG. 7, the current injection circuit 160 includes adifferential pair having transistors Q1' and Q2' substantially identicalto the transistors Q1 and Q2. The collector of transistor Q1' may bedirectly connected to a power supply of 0V or, alternatively, may becoupled thereto via the parallel connection of diode D' and resistor R'as shown in FIG. 7. Within the current injection circuit 160 a currentsubstantially identical to Imin/2 is induced to flow within transistorQ2' by driving the differential pair of Q1' and Q2' with voltagesseparated by 32 LSB (16LSB and 48 LSB). A current mirror comprised of anMOS transistor M0 having channel width to length ratio of W/L, and MOStransistors M1-Mn characterized by channel ratios of 2W/L serve tosupply the nodes N1-Nn with a current equivalent to twice that conductedby transistor Q2', i.e., with the current Imin. This enables the outputvoltage of folder circuit 150 to rise to within approximately onetransistor turn-on voltage below the upper power supply rail (0V). Incontrast to conventional folder circuits, the folder of the presentinvention is thus capable of providing an output voltage not constrainedto remain below the upper power supply by the amount Vupper+V_(BE) (seethe Background of the Invention).

As was also discussed in the Background of the Invention, the transfercharacteristic of conventional folder circuits tends to become nonlinearfor analog input voltages near each of the folding points. The folder150 is designed to substantially eliminate this non-linearity by across-coupling arrangement which includes a first feedback path betweenthe second resistive network and transistor QR1B, and a second feedbackpath between the first resistive network and transistor QR2A. Referringto FIG. 6, this cross-coupling is replicated in each succeeding stage ofthe folder 150. In the specific case where the analog input is of amagnitude approximately equal to the reference voltage corresponding tothe first folding point (e.g., 16 LSB), substantially equal currents aredrawn by the first and second resistive networks. It follows that the I1current is divided between transistors QR1B and QR2A, resulting in aV_(BE) that is less than the V_(BE) generated when only one of thetransistors QR1B and QR2A is sufficiently turned on to conductappreciable current. This reduced base-emitter voltage drop through thetransistors QR1B and QR2A would induce an undesired rise in the folderoutput voltage were it not for the provision of feedback paths P1 andP2.

Specifically, the resistor in each stage of the folder circuit is splitin two portions A and B, and the voltage at node between the tworesulting resistors is feed back to the collectors of the NPNtransistors in the neighboring folder stages in both directions. Thus,the feedback voltage from stage N of a folder circuit is feed back tothe collectors of the NPN transistors in the both stages N-1 and N+1.The reason that feedback paths in both directions are necessary is thateach folder node Ni below each resistor participates in the generationof two low points in the folder's output voltage, and thus it cannot bedetermined in advance which neighboring stage the feedback will beneeded for an unknown input voltage.

As shown in FIG. 6, the collector terminals of transistors QR1B and QR2Aare connected below resistors R2A and R1A rather than to the uppersupply rail causes the folder output voltage to be negativelylevel-shifted in proportion to the voltage drop across resistors R2A andR1A. In the implementation of FIG. 6 the resistors R2A and R1A areselected to introduce a negative level-shift of approximately 18mV intothe folder output voltage for analog input voltages corresponding to thefolder reference voltages.

As mentioned above, the speed of conventional folder circuits tends tobe compromised due to saturation of the input differential pairs duringapplication of large analog input voltages. This saturation occurs whenthe analog input applied to the base terminal of one of the transistorswithin the differential pair induces a collector current sufficientlyhigh to drive the transistor into saturation. Referring to FIG. 6, thefolder circuit 150 includes diode clamps D1, D2 . . . , DM, connectedbetween the upper power supply rail (0V) and the nodes N1, N2, . . .,NM. The clamps D1, D2, . . . DM prevent the collector voltages of theinput transistors within each differential pair (e.g., Q1, Q3) fromreaching saturation levels by limiting the current through eachresistive network. For example, the diode D1 limits the collectorvoltage of transistor Q1 to approximately -0.7 V. In this way the speedof the folder 150 is enhanced relative to that of conventional foldercircuits.

IMPROVED SAMPLE AND HOLD RECEIVER

FIG. 8 is a circuit diagram of a simplified implementation of a 2-bitsample and hold voltage receiver 300 in accordance with the presentinvention. As shown in FIG. 8, the voltage receiver 300 includes a set302 of sample and hold circuits operatively coupled to a set 304 ofcomparators in a flash analog to digital converter. The comparators 304are operatively coupled to a decoder (not shown) of the flash converter.

Referring to the sample and hold circuits 302, a first such circuitincludes an MOS sampling transistor 306 having a drain terminalconnected to a first holding node H1. A first holding capacitor 308 isalso connected to holding node H1, as is a first input terminal of afirst comparator C1. The set point of the comparator C1 is held at avoltage Vr/4, where Vr corresponds to a full-scale reference voltageassociated with the flash array. Second and third sampling transistors310 and 312 are similarly connected to second and third holding nodes H2and H3, as are second and third holding capacitors 314 and 316. Thesecond and third holding nodes define the voltages at the inputs ofsecond and third comparators C2 and C3, which are respectivelyreferenced to the voltages Vr/2 and 3Vr/4.

As was previously discussed, in conventional sample and hold circuitsused in conjunction with flash A/D's identical bias voltages are appliedto each sampling transistor. As a consequence, the channel resistance ofthe sampling transistor varies as a function of the applied inputvoltage. This results in the creation of a nonlinear relationshipbetween the analog input and the output of the comparator array includedwithin the flash A/D. More precisely, the actual analog voltage at whicha particular comparator is tripped will depend not only upon themagnitude of the comparator reference voltage, but also upon the channelresistance of the sampling transistor for voltages near the trip pointof the associated comparator. Harmonic distortion results since thereexists a unique trip point for each comparator, and consequently thechannel resistance of the sampling transistors will be different in thevicinity of each trip point.

The present invention overcomes this difficulty by biasing the samplingtransistors such that each exhibits substantially identical channelresistance for analog input voltages proximate the trip point of theassociated comparator. For example, the gate and bulk bias voltages Vg2and Vb2 applied to the second sampling transistor 310 are selected to beVr/4 larger than the bias voltages Vg1 and Vb1 applied to the firstsampling transistor 306. In this way the channel resistance of the firstsampling transistor 306 when the analog input is near Vr/4 will be thesame as that of the second sampling transistor 310 when the analog inputis near Vr/2. Since, for the purpose of reducing or eliminating harmonicdistortion, the channel resistance of a sampling transistor is only ofconcern for analog voltages proximate the trip point of the comparatorto which it is coupled, it is clear that the present invention providesa technique for virtually eliminating harmonic distortion.

In the general case the gate and bulk bias voltages Vgi and Vbi willrespectively be set as follows:

    Vg(i)=Vg(i-1)+Vr/4

    Vb(i)+Vb(i-1)+Vr/4

where i=2, 3. The gate and bulk bias voltages for the second and thirdsampling transistors 310 and 312 are thus seen to be offset in multiplesof Vr/4 from the bias voltages Vg1 and Vb1 selected for the firstsampling transistor 306.

As is discussed below, the above-described technique for reducingharmonic distortion may be incorporated in other types of analog todigital converters (A/D's) including, for example, A/D's which utilizefolder circuits. Specifically, FIGS. 9A, 9B and 9C are circuit diagramswhich depict the manner in which the present invention may beimplemented within a folding A/D.

Referring to FIG. 9A, there is shown a circuit diagram of a preferredembodiment 320 of the inventive analog sample and hold voltage receiver.The receiver 320 is operative to provide each stage of a folder circuit330 (FIG. 10A) with samples of an analog input voltage. In particular, afirst sample and hold circuit 322 of the voltage receiver 320 providestransistor Q1A of folding Stage A1 (FIG. 10A) with a sample of theanalog input voltage denoted by InA1. Similarly, a second sample andhold circuit 324 supplies transistor Q1A of folding Stage B1 withinfolder 332 (FIG. 10B) with analog input sample InB1. In keeping with thepresent invention, bias voltages VbA1 and VgA1 provided to circuit 322and bias voltages VbB1 and VgB1 applied to circuit 324 are selected suchthat the channel resistances of the sampling transistors 326 and 328 areidentical for analog inputs in the vicinity of the folding pointsassociated with Stages A0 and B1 (FIG. 10A and 10B), respectively. Thatis, the bias voltages applied to the circuits 322 and 324 cause thechannel resistance of transistor 326 (for analog input voltagesproximate 48 LSB) to be equivalent to the channel resistance oftransistor 328 (for analog input voltages proximate 16 LSB).

FIG. 9B is a schematic representation of a clocked gate bias circuit 340operatively connected to the sampling transistors within the voltagereceiver 320 (FIG. 9A). The bias circuit 340 is operative to control thesampling process effected by the receiver 320 by toggling the gate biasapplied to each sampling transistor in accordance with a 50 MHz MasterClock. As can be seen from inspection of FIG. 9B, the bias lines onwhich are impressed gate bias voltages VgA0-17, VbB0-17 are pulled high,to 0 volts, when the Master Clock signal goes low for 10 nanoseconds.This disables all the sampling transistors in the receiver circuit 320.During this time, the previously sampled input voltages are converted toa digital value by the folder, flash array and decoder circuits of theADC.

When the Master Clock signal goes high for 10 nanoseconds, NMOStransistors 341 within bias circuit are turned on, causing the biaslines on which are impressed gate bias voltages VgA0-17, VbB0-17 to bepulled low, to voltages ranging between -5 volts and -2.8125 volts high.Transistors 341 are actuated in response to Master Clock rising to alogical high during each 10 nanosecond sampling interval. The transitionof the gate bias lines to a negative potential is expedited by one-shotcircuits 342 and 344, which issue short (2.5 nanosecond) pulses tobriefly actuate NMOS transistors 346. In this way the gate bias linesVgAi and VgBi are pulled quickly from a potential of 0V toward apotential of -5V at the beginning of each sampling interval, and thensettle down to an intermediate gate bias voltage determined by resistorladders 348 and 349. As shown in FIG. 9B, the resistive ladders 348 and349 are used to define the magnitude of each gate bias voltage VgA0-17and VgB0-17 applied to the voltage receiver 320 during each samplinginterval. Referring to FIG. 9C, a similar resistive network within asubstrate bias network 360 enables the provision of staggered bulk biasvoltages VbA0-17 and VbB0-17.

LSB FLASH CIRCUIT USING REFERENCE FOLDER CIRCUITS

Referring to FIG. 1 1, there is shown a block diagram of a conventionalfour-bit analog to digital converter (A/D) 400 incorporating a 2-bitfolder circuit 402. As mentioned above, the accuracy of conventionalfolding A/D's depends in part upon the degree to which the foldercircuit is capable of implementing a piecewise linear folding function.In this regard FIG. 12 represents a first portion of the ideal (dashedline) and actual (solid line) voltage transfer characteristics of the2-bit folder circuit 402 incorporated within the A/D 400. As isindicated by FIG. 12, error is introduced into the folder output voltageas a consequence of deviation in the actual folder transfercharacteristic from an ideal piecewise linear characteristic. Forexample, an analog input voltage of 3Vref/16 would ideally be mapped bythe folder circuit of FIG. 11 to a folder output voltage of Vref/16.Instead, the nonlinear folder transfer characteristic results in ananalog input of 3Vref/16 being converted to an output voltage V1 of lessthan desired magnitude.

Existing techniques for improving the linearity of the actual foldertransfer characteristic have incorporated emitter feedback resistorswithin the differential pair of the folder. These feedback resistorsimprove linearity by degenerating base-emitter voltage drop, which inturn limits collector current and reduces rounding of the actual foldertransfer characteristic. Unfortunately, this technique requires matchingan additional pair of resistors (the emitter resistors) and reduces thegain of the folder. In addition to being relatively nonlinear even understable environmental conditions, the transfer characteristics ofconventional folder circuits also tend to vary as a function oftemperature and processing.

Accordingly, satisfactory operation of folder circuits may generally beachieved only over a limited temperature range.

The present invention provides a technique for improving the linearityof folder transfer characteristics, both under stable and fluctuatingenvironmental conditions, which does not engender an accompanying gainreduction. As discussed below, this technique involves adjusting thereference voltages applied to comparators (comparison voltages) within aflash array so as to mirror variation in the voltage provided to thearray by a primary folder circuit. Specifically, reference foldershaving transfer characteristics substantially identical to that of theprimary folder circuit are utilized to generate the comparison voltages.The reference folders thus serve to compensate for variation in the gainof the primary folder, and in this way obviate the need to design theprimary folder for constant gain and absolute linearity overtemperature.

Referring to FIG. 13, there is shown a block diagram of an improvedfour-bit analog to digital converter 410 of the present invention whichincludes first, second and third reference folder circuits 412, 414 and416 for providing comparison voltages V1, V2, and V3 to an LSB flasharray 420.

As shown in FIG. 13, the two most significant bits (MSB's) generated bythe converter 410 are produced by applying the analog input to first,second and third MSB comparators 422, 424, and 426 within an MSB flasharray 428. The comparators 422, 424, and 426 are respectively referencedto comparison voltages Vref/4, Vref/2 and 3Vref/4 provided by, forexample, a resistive reference ladder (not shown). An MSB decoder 430 isoperative to synthesize the two MSB's generated by the converter 410,i.e., Bits 2 and 3, in response to the binary output of the MSB flasharray 428.

As shown in FIG. 13, the LSB's, i.e., Bits 0 and 1, generated by theconverter 410 are produced by an LSB decoder 432 in response to thebinary output of the LSB flash array 420. The LSB flash array 420includes first, second and third comparators 434, 436 and 438respectively referenced to the first, second and third comparisonvoltages V1, V2 and V3 by the reference folders 412, 414 and 416. Thetransfer characteristics of the reference folders 412, 414 and 416 aremade to be substantially identical to that of a primary folder 440 so asto compensate for variation in the output voltage of folder 420 inducedby, for example, temperature fluctuation or the like. In accordance withthe invention, this identity between transfer characteristics isachieved by designing the reference folders to be duplicates ofcorresponding stages of the primary folder 440. For example, when theprimary folder 440 is implemented using a folder having a topologyequivalent to that shown in FIG. 6, the first reference folder may berealized as shown in FIG. 14.

Referring to FIG. 14, the first reference folder 412 includes a firstdifferential stage 442 comprised of transistors Q1A and Q1B, and asecond differential stage 444 which includes transistors Q2A and Q2B.Equivalent current sources I1 and I2 fix the current through stages 442and 444, while an output current source lout sets the current through anoutput network 446. As was discussed with reference to FIG. 6, theoutput voltage of folder 412, i.e, the comparison voltage V1, is definedby the output network 446 on the basis of node voltages A1, A2 and A3.In the implementation of FIG. 14 the application of a reference voltageof 5Vref/16, derived from a reference ladder (not shown), todifferential stages 442 and 444 results in the provision of a comparisonvoltage V1 of approximately 3Vref/16. Again, it is a feature of thepresent invention that the magnitude of voltage V1 varies so as tocompensate for fluctuations in the output voltage of the primary folder440.

Reference folders 414 and 416 are substantially identical to thereference folder 412 shown in FIG. 14, except that the "input referencevoltages" applied to reference folders 414 and 416 are 3Vref/8 and7Vref/16, respectively.

FIG. 15A shows a preferred implementation of an LSB flash array suppliedwith comparison voltages from a set of fifteen reference folders. TheLSB flash array is bifurcated into an LSB flash array A coupled to 4-BitFolder Circuit A, and an LSB flash array B responsive to the output of4-Bit Folder Circuit B. The Folder Circuits A and B, in conjunction withLSB Decoders A and B, provide binary inputs to an 8-to- 4 Multiplexer.In this arrangement the output of the 8-to- 4 Multiplexer corresponds tothe four LSB's of a 10-Bit representation of the analog input applied toFolder Circuits A and B.

The two Folder Circuits A and B are shown in more detail in FIGS. 10Aand 10B. The fifteen reference folders in FIG. 15A are shown in FIGS.15B and 15C. The first seven reference folders, shown in FIG. 15B, areimplemented as three-stage folder circuits 450 that are identical exceptfor the "input reference voltages" which are offset from a folderreference point by voltages ranging from 1 LSB to 7 LSB. The remainingeight reference folder circuits, shown in FIG. 15C, are implemented astwo-stage folder circuits 452 that are identical to each other exceptfor the "input reference voltages" which are offset from a folderreference point by voltages ranging from 8 LSB to 15 LSB.

The reason three folder stages are used in the first seven referencefolder circuits 450 but not the other eight reference folder circuits452 is as follows. For the lowest input reference voltages, the A15stage of the reference folder in FIG. 15B still has a measurable affecton the currents drawn through resistor R16A-R16B, causing the outputvoltage of the folder circuit to be lower than if stage A15 were notpresent. This affect is partially responsible for the non-linear shapeof the voltage transfer characteristic near the folding points. However,this affect is so attenuated as to be insignificant for the higher inputreference voltages because the Q15A base voltage rises high enough tocause the current through transistor Q15B approaches zero.

VOLTAGE REFERENCE LADDER

As was discussed in the Background of the Invention, efforts have beenmade to enhance the precision of the reference voltages supplied to theflash arrays and folder circuits included within high-speed ADCs. Forexample, in the conventional approach shown in FIG. 4, a force and sensecircuit is employed to set the voltage at sense terminals at either endof a resistive line to predefined reference potentials. Specifically,the force and sense circuit includes a feedback network which adjuststhe magnitude of applied "force" voltages such that the magnitude of thepredefined reference potentials are made to be relatively independent ofparasitic resistance proximate the termination of the resistive line.

In many analog to digital converters these reference potentialscorrespond to the zero and full-scale values used during the conversionprocess. In the preferred embodiment, which is a high-speed ADC, it isuseful to include folding circuits having internal voltage referencesthat are several LSBs beyond these zero and full-scale values. Simplyincreasing the dynamic range between the zero and full-scale values toinclude these additional reference voltages has been considered, butwould lead to unusual values for the zero and full-scale references.This would, in turn, complicate the interpolation process used to selectthe tap points corresponding to the remaining reference values.Accordingly, one object of the present invention is to provide a voltagereference ladder from which may be derived reference voltages externalto the voltage range defined by the reference potentials.

Referring to FIG. 5, the accuracy of the interpolated reference voltagesderived from the resistive line of conventional reference ladders isdegraded by current drawn by the circuits coupled to the referencevoltage tap points. Hence, another object of the present invention is tominimize the error introduced into the interpolated reference voltageswhich arises as a consequence of current drawn by the folder and flashcircuits of the ADC.

FIG. 16 is a circuit diagram of a resistor ladder 480 for generatingreference voltages, and an external force and sense circuit 482 used ina preferred embodiment of the present invention. A suitable force andsense circuit for use in the present invention is the HP-4142 made byHewlett-Packard. The ladder 480 may comprise a uniform resistive line ordiffusion line from which a set of reference voltages may be derivedfrom a set of taps positioned along the line. Alternatively, the laddermay be realized using a string of resistive elements connected inseries. In the implementation of FIG. 16 a set of reference voltagesstepped in increments of 32 LSB (plus a few other additional referencevoltages for the inputs to the reference folders, and so on) areobtained by tapping a resistive metal ladder 480 at evenly spaced tappoints.

In the preferred embodiment, the reference voltages are included withina range defined by references corresponding to -48 and 1072 LSB tappedfrom first and second ends of the resistive ladder 480, respectively.When the sense points are located at 0 LSB and 1024 LSB, the referencevoltages may be segregated into a set of interpolated reference voltages(0 to 1024 LSB), a first set of extrapolated reference voltages (1025 to1072 LSB), and a second set of extrapolated reference voltages (-48 LSBto -1 LSB).

In contrast to conventional approaches, in the implementation of FIG. 16first and second sense terminals 484 and 486 are displaced from thefirst and second ends of the resistive ladder 480. The force and sensecircuit 482 includes first and second force terminals 490 and 492respectively connected to first and second ends of said resistive line480. A voltage generator (not shown) within the circuit 482 impressesfirst and second reference potentials upon the first and second forceterminals 490 and 492 until voltages on the first and second senseterminals 484 and 486 match predefined first and second voltage levels.

When the resistive ladder 480 is used within a folding analog to digitalconverter, the predefined first and second voltage levels may beselected to correspond to the converter's zero and full-scale referencevoltages, e.g., -2V and 0V. This placement of the first and second senseterminals allows first and second sets of extrapolated referencevoltages to be obtained by tapping the portions of the resistive linenot included between the terminals 484 and 486. These extrapolatedreference voltages can be used to provide voltage references to afolding analog to digital converter which requires references severalLSBs beyond the zero and full-scale voltages. In integrated circuitapplications the resistive ladder 480 will generally be realized as auniform resistive diffusion, with other functional circuit elementsbeing connected to the ladder at specified ones of the tap pointsassociated with the set of LSB reference potentials (FIG. 16). In suchimplementations the LSB reference tap points will be uniformly spacedalong the length of the diffusion.

In a first preferred embodiment of the present invention (shown in FIG.16), the two sense points used are moved inward to points such as 256LSB and 768 LSB. By forcing these two tap points of the resistive ladderto be precisely at their ideal voltages, the RMS error of the ladder isdecreased, relative to embodiments where the sense points are positionedat the converter's zero and full-scale reference voltages, because alltap points are closer, on average, to the sense points. Thus, thisembodiment produces a very small RMS error, while still using only twoexternally accessible sense points along the resistive ladder.

As may be appreciated by reference to FIG. 17, displacement of the sensepoints associated with sense terminals 484 and 486 from the ends of theladder 480 in accordance with the invention results in lowerroot-mean-square (RMS) error with respect to an ideal linearcharacteristic than is conventionally obtained. Note that the voltagedeviations in typically ADC reference ladders are smaller than thatshown in FIGS. 5 and 17, where the curvature of the voltage referenceplot has been increased for purposes of explaining the presentinvention. With that caveat, comparison of FIG. 5 and FIG. 17 revealsthat the curve representative of the actual reference potentials (solidline in FIG. 17) derived from the ladder 480 has been shifted relativeto the curve associated with the actual potentials obtained from aconventional reference ladder (solid line in FIG. 5). This shiftsignificantly reduces both overall RMS error and the previously largeerrors associated with reference potentials derived from tap pointsproximate the center of the resistive line.

In an alternate embodiment of the present invention, the number of sensepoints is increased to three (or more), for example, by using sensepoints at the 0 LSB, 512 LSB and 1024 LSB tap points of the resistiveladder 480, which ideally should be at -2, -1 and 0 volts, respectively.In this embodiment, the voltage generator of the force and sense circuit482 is set up to minimize the RMS error of the voltages at the threesense points (0 LSB, 512 LSB and 1024 LSB). This embodiment produces avery small RMS error, at the cost of one additional externallyaccessible resistive ladder tap point. In yet another embodiment, foursense points at the 0 LSB, 256 LSB, 768 LSB and 1024 LSB tap points areprovided, allowing the user several choices as to the force and sensescheme used.

PARALLEL FOLDER AND LSB DECODER CIRCUITS

Referring to FIG. 18, there is shown a block diagram of a prior art10-bit analog to digital converter 500 which uses a pair of staggered5-bit folder circuits A and B, denoted respectively by referencenumerals 502 and 504. During each sampling period an analog input signal(not shown) is sampled by the input sample and hold circuit 105 andapplied to the 5-bit folder circuits 502 and 504, as well as to theconventional 5-bit MSB flash array 106. As is described below, the 10Bit output of the converter 500 is generated by combining the five MSB'ssupplied by the 5-bit MSB Decoder 108 with a set of five LSB's providedby LSB Decoder 505.

The output voltage of folder circuit 502 is derived by comparing thesampled analog input signal with a set of M reference voltages V_(R),2V_(R), . . . MV_(R), provided by a voltage reference ladder 104. In theimplementation of FIG. 18, the first folder circuit 502 operates inaccordance with the folding transfer characteristic shown in FIG. 1B.The transfer characteristic of the folder circuit 504 is substantiallysimilar to that shown in FIG. 1B, but is staggered therefrom by V_(R)/2. That is, the folding points of the transfer characteristic of foldercircuit 504 are at 0.5V_(R), 1.5V_(R), . . . (M+0.5)V_(R). This allowsall input voltages to be mapped to a folder output voltage on the basisof the bottom half of the transfer characteristics of the foldercircuits 502 and 504.

The appropriate folder output voltage to be used in generating the fiveLSB's output by the converter 500 is determined by the value of thesecond least significant bit of the 5 Bit MSB Decoder 108. This bit issupplied to the multiplexer 508 at the conclusion of the MSB conversionprocess. Unfortunately, the MSB conversion process requires more timethan the folding operation performed by the folder circuits 502 and 504.This slows the overall rate of analog to digital conversion, since the 5Bit LSB flash circuit 110 must wait until multiplexer 508 is providedwith the least significant bit generated by MSB decoder 108 beforeconverting the selected folder output voltage to digital form.Accordingly, it is an object of the present invention to improve thespeed of analog to digital converters which employ staggered foldercircuits by eliminating the requirement that the MSB conversion processbe completed prior to converting one of the folder circuit outputs to adigital value.

FIG. 19 is a block diagram of an analog to digital converter 520 whichincorporates parallel flash circuits and decoders in accordance with thepresent invention. As shown in FIG. 19, a sampled analog input from thesample and hold circuit 105 is provided to the 5-bit MSB flash array 106and to staggered folder circuits 521 and 522. A digital codecorresponding to the five MSB's of the analog input is straightforwardlyproduced by the 5-bit MSB flash array 106, with the actual five binarycode MSB's being provided by the MSB Decoder 108. Similarly, a binaryoutput commonly termed "gray thermometer" digital code is generated bythe 5-bit LSB Flash Circuits A and B, denoted by reference numerals 524and 526, on the basis of the outputs of the folder circuits 521 and 522.This thermometer code is transformed into binary code by LSB Decoders Aand B, represented by reference numerals 528 and 530, to yield a pair of5-bit digital outputs provided to digital multiplexer 532. The digitaloutput from the one of the decoders 528 and 530 which corresponds to thefive LSB's output by the converter 520 is selected by the multiplexer532 in accordance with the second least significant bit generated by theMSB Decoder 108. As is apparent from the foregoing, the LSB conversionprocess effected by the flash circuits 524 and 526 and decoders 528 and530 may occur contemporaneous with the corresponding MSB conversion.This eliminates the delay in the LSB conversion process discussed withreference to the conventional analog to digital converter 500, since inaccordance with the present invention the multiplexing operation isperformed after the output voltages from the folder circuits 521 and 522have been converted to digital form. In this way the present inventionprovides a technique for improving the speed of analog to digitalconverters employing staggered folding circuits.

The ADC 540 of FIG. 20, which will be described in more detail below, isa second embodiment of an ADC that incorporates parallel flash circuitsand decoders.

A second problem addressed by the invention as shown in FIGS. 19 and 20is that the folder transfer function is very curved (i.e., non-linear)near the tops of the transfer function, which are near the midpointsbetween the folding points of the folder circuit (i.e., between thevoltage references used by the folder). As shown in FIG. 3, the gainnear the maximum folder output points is very poor, making resolution ofinput voltages in these regions poor. This problem is solved in thepresent invention by using only the most linear portion of each folder'stransfer function.

In the ADC of FIGS. 19 and 20, the two staggered folder circuits A and B(521 and 522) use only half as many folding points as would be requiredfor a single folder circuit, using reference voltages in each foldercircuit spaced at intervals of 64 LSB instead of at intervals of 32 LSBin the case of the 4 bit folders in FIG. 20. Each folder circuit is usedto generate the LSB output code bits only when the input voltage is inits linear region. To properly determine which folder circuit to useduring each input signal conversion and to determine whether theselected folder is on a positive or negatively sloped portion of itstransfer function, two bits are needed from the MSB decoder. Inparticular, the second lowest MSB bit is used to determine which LSBfolder and LSB decoder to use, and the lowest MSB bit is used todetermine whether the selected folder is on a positively or negativelysloped portion of its transfer function. For instance, the first foldercircuit 521 would be used for input voltages between 0.5V_(R) and 1.5V_(R), while the second folder circuit 522 would be used for inputvoltages between 1.5 V_(R) and 2.5 V_(R).

MSB DECODER THAT DECODES MSBs FROM INTERNAL VOLTAGES OF TWO FOLDERCIRCUITS

Referring to FIG. 20, the preferred embodiment of a 10-bit analog todigital converter 540 is similar to the converter 520 shown in FIG. 19,in that it incorporates parallel flash circuits and decoders. However,in this preferred embodiment, the ADC 540 has two staggered 4-bit foldercircuits 322 and 324 (shown in FIGS. 10A, 10B and 10C) whose analogoutputs are digitized by two parallel 4-bit LSB flash circuits 542 and544, each of which generates a 16-level gray thermometer code. The graycode outputs from the two LSB flash circuits 542 and 544 are decodedinto 4-bit values by parallel decoders 546 and 548, and one of those two4-bit values is output as the LSBs of the converter 540 by multiplexer550 in accordance with the second lowest bit (i.e., bit 5) output by amodified MSB decoder 552 (which generates bits 9-4).

As will be described in more detail below, the modified MSB decoder 522generates six most significant bits (MSBs) by decoding the outputvoltages of the two 4-bit folder circuits 322 and 324, as well as bydecoding the differential output voltages on nodes A1 to A17 in folder322 and nodes B1 to B17 in folder 324.

The ADC 540 of FIG. 20 also incorporates the improved input sample andhold receiver 320 shown in FIGS. 9A-9C and the modified voltagereference ladder 480 of FIG. 16.

For the purposes of explaining the operation of the LSB flash arraycircuits 522 and 524 and that of MSB decoder 552, FIG. 21 shows asimplified representation of the differential output voltages on nodesA1 to A17 in folder circuit 322 (sometimes called folder circuit A) andnodes B1 to B17 in folder circuit 324 (sometimes called folder circuitB).

It should be noted that the 10 bits output by the ADC are hereinlabelled bit 9 through bit 0, where bit 9 is the most significant bitand bit 0 is the least significant bit. FIG. 21 shows that the six mostsignificant bits (bits 9 through 4) of the code generated by the ADC canbe determined simply by comparing the relative voltages of various onesof the folder output voltages and differential output voltages from thetwo staggered folder circuits. This will be discussed in more detail,below, with respect to FIGS. 23 and 24.

The LSB flash array circuits 542 and 544 for the preferred embodimentare shown in FIG. 15A. As can be seen from the voltage transfer functionshown in FIG. 21, when the output voltage of a folder circuit is on apositively sloped portion of its transfer function, the correspondingLSB decoder must generate a digital value that increases as the foldercircuit output voltage increases. However, when the output voltage of afolder circuit is on a negatively sloped portion of its transferfunction, the corresponding LSB decoder must generate a digital valuethat increases as the folder circuit output voltage decreases. Morespecifically, the K bits output by the LSB decoder must be inverted whenthe output voltage of the folder circuit is on a negatively slopedportion of its transfer function, which corresponds to the lowest MSBbeing equal to 0.

Referring to FIG. 22, there is shown a circuit diagram of one LSBdecoder 546. The fifteen binary outputs of the flash array 542 are eachcompared with their next highest neighbor by fifteen XOR gates 560. TheXOR gates 540 will all output 0's, except for the XOR gate that isplaced between the highest comparator CAi that outputs a 1 and thelowest comparator CAi+1 that outputs a 0. Only that one XOR gate 560will output a 1. If all the flash array comparators output 0's (becausethe folder output voltage is less than 1 LSB), the XOR gates 560 willall output 0's, and the corresponding 4-bit LSB value is 0000.Otherwise, just one of the XOR gates 560 will output a 1. The outputs ofthe XOR gates are decoded using a set of fifteen parallel NPNtransistors 562 in standard fashion, producing four "preliminary" bitvalues PBit 3 to PBit 0.

Note from the diagram in FIG. 20 that the output of decoder A 546 isselected by multiplexer 550 when bit 5 equals 0 and the output of thedecoder B 548 is selected by multiplexer 550 when bit 5 equals 1. Thus,the portions of folder circuit B's output voltage when bit 5 equals 0are irrelevant for the purposes of generating the ADC's 4 LSBs, as arethe portions of folder circuit A's output voltage when bit 5 equals 1.

Referring to FIG. 22, output buffer 564 either inverts the preliminarybit values, or outputs them unchanged, based on the value of the lowestMSB (bit 4). From the voltage transfer function shown in FIG. 21 is canbe seen that, ignoring folder circuit B's output when bit 5 equals 1 andignoring folder circuit A's output when bit 5 equals 0 that the foldercircuit output voltage is on a positive slope when bit 4 equals 1 and ison a negative slope when bit 4 equals 0. Thus, bit 4 determines whetheror not the preliminary outputs of the decoder should be inverted or notto produce bits 3-0.

The LSB Decoder B 548 is identical to the decoder 546 shown in FIG. 22.

Referring to FIGS. 21 and 23, the MSB decoder includes a first decoderportion 570 that generates Bit 5 simply by comparing the output voltagesof the folder circuit A and folder circuit B with a comparator 571, withBit 5 being set to a value of 1 when folder circuit B's output isgreater than that of folder circuit A.

A second portion 572 of the MSB decoder generates bits 9-6. Based on thevalue of bit 5, a multiplexer 574 passes either the differential nodevoltages B2-B17 of folder circuit B or the differential node voltagesA1-A16 of folder circuit A to a set of fifteen parallel NPN transistors576. Since only one of the differential node voltages will be high, atmost one of the NPN transistors will be active. The NPN transistors 576thus act as a decoder in standard fashion, producing bits 9 to 6 of theADC generated output code.

Referring to FIGS. 21 and 24, a second portion 580 of the MSB decodergenerates bit 4 of the ADC generated output code. The bit 4 decoder 580generates the lowest MSB by comparing neighboring ones of thedifferential output voltages from a first one of the two folder circuitsusing sixteen differential comparator circuits 582. Each of the sixteendifferential comparator circuits 582 is enabled by a pull downtransistor 584 driven by a corresponding one of the differential outputvoltages from the other folder circuit, and thus only one of the sixteencomparator circuits 582 is enabled during the conversion of each analoginput signal. The output of the enabled comparator circuit determinesthe value of the lowest MSB by pulling one of lines 586 and 588 low,which is accomplished by forming a current path from that line (586 or588) to pull down current source 590. The voltages on lines 586 and 588are compared by comparator 592 to generate bit 4.

The choice as to which folder circuit's differential output voltages areto be used by the differential comparator circuits 582 is determined bybit 5 of the ADC output code, with multiplexers 594 and 596 passing theappropriate folder circuit's differential output voltages todifferential comparator circuits 582 and pull down transistors 584,respectively. From the voltage transfer function of FIG. 21 it can beseen that when bit 5 equals 1, the value of bit 4 is determined bycomparing neighboring differential output voltages from folder circuitA. When bit 5 equals 0, the value of bit 4 is determined by comparingneighboring differential output voltages from folder circuit B.

While the present invention has been described with reference to a fewspecific embodiments, the description is illustrative of the inventionand is not to be construed as limiting the invention. Variousmodifications may occur to those skilled in the art without departingfrom the true spirit and scope of the invention as defined by theappended claims.

What is claimed is:
 1. An analog to digital converter comprising:a first folder circuit that maps an analog input voltage to a first folder output voltage; a second folder circuit that maps said analog input voltage to a second folder output voltage; first and second flash circuits that generate first and second digital representations of said first and second folder output voltages, respectively; an MSB conversion circuit for generating a digital output in response to said analog input, said first and second digital representations being generated contemporaneously with generation of said digital output; and a multiplexer that selects one of said first and second digital representations in accordance with said digital output of said MSB conversion circuit.
 2. The analog to digital converter of claim 1 further including first and second decoder circuits for decoding said first and second digital representations.
 3. The analog to digital converter of claim 2 wherein said MSB conversion circuit includes an MSB decoder circuit connected to an MSB flash array.
 4. The analog to digital converter of claim 3 wherein a least significant bit output by said MSB decoder circuit is utilized by said multiplexer to select one of said decoded first and second digital representations.
 5. The analog to digital converter of claim 1 wherein said first folder circuit is characterized by a first folding transfer characteristic, and wherein said second folder circuit is characterized by a second folding transfer characteristic staggered from said first folding transfer characteristic.
 6. An analog to digital converter comprising:a first folder circuit that maps an analog input voltage to a first folder output voltage; a second folder circuit that maps said analog input voltage to a second folder output voltage; wherein said first folder circuit is characterized by a first folding transfer characteristic, and wherein said second folder circuit is characterized by a second folding transfer characteristic staggered from said first folding transfer characteristic such that said first folding transfer characteristic has folding points interleaved with folding points in said second folding transfer characteristic; first and second flash circuits that simultaneously generate first and second digital representations of said first and second folder output voltages, respectively; an MSB conversion circuit for generating a digital output in response to said analog input; and a multiplexer that selects one of said first and second digital representations in accordance with said digital output of said MSB conversion circuit. 